import {httpGet, httpPost} from '@/utils/request'
import { activityListParam, activityReceiveParam, logListParam } from './activeInterface'

// 活动领取
export const activityReceive = async (params: activityReceiveParam, config?: {}) => {
  await httpPost('user/activity/activityReceive', params, config)
}

// 活动列表
export const activityList = async (params: activityListParam, config?: {}) => {
  await httpPost('user/activity/list', params, config)
}

// 活动日志列表
export const logList = async (params: logListParam, config?: {}) => {
  await httpPost('user/activity/logList', params, config)
}